package bar.dark.lee.fan;

import android.os.Parcel;
import android.os.Parcelable;

public class FanData implements Parcelable
{
	private String id;
	private String type;
	private String name;
	private String date;
	private String money;
	private String tel;
	private String moneyname;
	private String checkSign;
	private String linkId;
	private String checkId;
	private String memo;
	
	public FanData(){};
	
	public FanData(Parcel source)
	{
		this.id = source.readString();
		this.type = source.readString();
		this.name = source.readString();
		this.date = source.readString();
		this.money = source.readString();
		this.tel = source.readString();
		this.moneyname = source.readString();
		this.checkSign = source.readString();
		this.linkId = source.readString();
		this.checkId = source.readString();
		this.memo = source.readString();
	}

	@Override
	public int describeContents()
	{
		return 0;
	}
	
	@Override
	public void writeToParcel(Parcel dest, int flags)
	{
		dest.writeString(this.getId());
		dest.writeString(this.getType());
		dest.writeString(this.getName());
		dest.writeString(this.getDate());
		dest.writeString(this.getMoney());
		dest.writeString(this.getTel());
		dest.writeString(this.getMoneyname());
		dest.writeString(this.getCheckSign());
		dest.writeString(this.getLinkId());
		dest.writeString(this.getCheckId());
		dest.writeString(this.getMemo());
	}
	
	public static Parcelable.Creator<FanData> CREATOR = new Creator<FanData>()
	{
		@Override
		public FanData[] newArray(int size)
		{
			return new FanData[size];
		}
		
		@Override
		public FanData createFromParcel(Parcel source)
		{
			return new FanData(source);
		}
	};
	
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public String getType()
	{
		return type;
	}
	public void setType(String type)
	{
		this.type = type;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getDate()
	{
		return date;
	}
	public void setDate(String date)
	{
		this.date = date;
	}
	public String getMoney()
	{
		return money;
	}
	public void setMoney(String money)
	{
		this.money = money;
	}
	public String getTel()
	{
		return tel;
	}
	public void setTel(String tel)
	{
		this.tel = tel;
	}
	public String getCheckSign()
	{
		return checkSign;
	}
	public void setCheckSign(String checkSign)
	{
		this.checkSign = checkSign;
	}
	public String getLinkId()
	{
		return linkId;
	}
	public void setLinkId(String linkId)
	{
		this.linkId = linkId;
	}
	public String getMemo()
	{
		return memo;
	}
	public void setMemo(String memo)
	{
		this.memo = memo;
	}

	public String getCheckId()
	{
		return checkId;
	}

	public void setCheckId(String checkId)
	{
		this.checkId = checkId;
	}

	public String getMoneyname()
	{
		return moneyname;
	}

	public void setMoneyname(String moneyname)
	{
		this.moneyname = moneyname;
	}
}
